/**
 * @author 赵希奥
 * @date 2022/3/31 20:48
 * @gitHub https://github.com/CKXGZXA
 * @gitee https://gitee.com/ckxgzxa
 * @description: 登录外观类, 充当外观类
 */
public class LoginFacade {
    // 维持对其他对象的引用
    private InfoReader infoReader;
    private LoginInit loginInit;
    private Logger logger;

    public LoginFacade() {
        infoReader = new InfoReader();
        loginInit = new LoginInit();
        logger = new Logger();
    }

    // 调用子系统对象的业务方法
    public void userLogin() {
        infoReader.read();
        loginInit.init();
        logger.log();
    }
    
}
